<template>
  <div>
    <div class="box1">
      <router-link to="/memo"><span>&lt;</span></router-link>
    </div>
    <ul>
      <li>
        <p class="p1">{{ ipt }}</p>
        <p class="p2">{{ ipt1 }}</p>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      ipt: "",
      ipt1: "",
    };
  },
  created() {
    this.ipt = this.$route.query.name;
    this.ipt1 = this.$route.query.type;
  },
};
</script>

<style scoped>
.box1 {
  width: 100%;
  height: 40px;
  line-height: 40px;
  background-color: #999;
}
.box1 span {
  float: left;
  font-size: 28px;
  margin-left: 15px;
  color: #fff;
}
.p1 {
  height: 40px;
  background-color: #eee;
  line-height: 40px;
  font-size: 16px;
}
</style>